package com.tuniu.agents.common;

import lombok.Data;

/**
 * Generic API response
 */
@Data
public class ApiResponse<T> {
    protected boolean success; // Indicates if the API call was successful
    protected String errorCode; // Error code if the API call failed
    protected String msg; // Message providing additional information
    protected T data; // The data returned by the API
}
